<div class="bloglist left">
  <div class="title_tj ">
    <div class="primary_block">
      <span>技术栈{{homeService.list.length}}条</span>
      <div class="search">
        <span (click)="searchArticle()">搜索</span>
        <input type="text" [(ngModel)]="homeService.search" (keyup.enter)="searchArticle()">
      </div>
    </div>
  </div>


  <div *ngFor="let article of homeService.list" class="primary_block">
    <h3>{{article.title}}</h3>
    <figure><img  [images]="article.full_thumb"></figure>
    <ul class="nlist">
      <div class="text_line3">{{article.description}}</div>
      <div class="dateview">
        <span *ngIf="article.created_at">发布时间：{{article.created_at}}</span>
        <span *ngIf="article.author">作者：{{article.author}}</span>
        <span *ngIf="article.cate_id">分类：[<a [routerLink]="['/cate/'+article.cate.id]">{{article.cate.name}}</a>]</span>
        <a [routerLink]="['/article/'+article.id]" class="readmore">阅读全文</a>
      </div>
    </ul>
  </div>
</div>
